<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<?php include('include/include_link.php');?>  
<script type="text/javascript">
 $(document).ready(function(){
    $('#btn_edit').on('click',function(){
        window.open('<?php echo base_url().$_SESSION['lg'];?>/editer-la-clinique','Editer la fiche clinique - step La clinique','width=600,left=400,top=20');

    });
 });
</script>
<style type="text/css">
    .menu {
        padding-left: 10px; padding-right: 10px;
    }    
</style>
</head>
<body>
<?php include('include/menu_espace_clinique.php');?> 
<?php include('include/variable_session.php');?>     
<?php 
 foreach ($result as $key => $list) {
     $nom = $list['NOM_CLI'];
     $addr_cli = $list['ADDR_CLI'];
     $id_cli = $list['ID_CLI'];
     $id_pays = $list['ID_PAYS'];
     $id_ville = $list['ID_VILLE'];
     $surface = $list['SURFACE'];
     $id_compte = $list['ID_COMPTE_CLI'];

 }
 $pays_cli = $this->mod_clinic->getPaysClinic($id_pays);
 $ville_cli = $this->mod_clinic->getVilleClinic($id_ville);
 $email = $this->mod_clinic->getEmailClinic($id_compte);
 $mdp = $this->mod_clinic->getMdpClinic($id_compte);

?>
<div class="main_container">
	<div id="wraper">  
            <?php include('include/header.php');?>
            <br /><br /><br />
            <table border='1'>
                <tr>
                    <td class="menu"><a id="la_clinique" href="#">La Clinique</a></td>
                    <td class="menu"><a id="equipe" href="#">Notre équipe</a></td>
                    <td class="menu"><a id="traitement_et_tarif" href="#">Traitement et tarif</a></td>
                    <td class="menu"><a id="conditions" href="#">Conditions générales et garanties</a></td>
                    <td class="menu"><a id="galeries" href="#">Galéries d'images</a></td>
                    <td class="menu"><a id="devis-recus" href="#">Devis r&eacute;&ccedil;us</a></td>
                    <td class="menu"><a id="messages" href="#">Messages</a></td>
                    <td class="menu"><a id="commentaires" href="#">Commentaires</a></td>
                </tr>
            </table>
            <div id="contenu">
            <fieldset>
                <legend>Mes données de connexion</legend>
                <table>
                    <tr>
                        <td>Email : </td><td><?php echo $email ?></td>
                    </tr>
                    <tr>
                        <td>Mot de passe : </td><td><?php echo $mdp ?></td>
                    </tr>
                </table>
            </fieldset>
            <fieldset>
                <legend>Localit&eacute;</legend>
                <table>
                    <tr>
                        <td>Pays : </td><td><?php echo $pays_cli; ?></td>
                    </tr>
                    <tr>
                        <td>Ville : </td><td><?php echo $ville_cli; ?></td>
                    </tr>
                    <tr>
                        <td>Adresse : </td><td><?php echo $addr_cli;?></td>
                    </tr>
                    <tr>
                        <td>Code postale</td><td></td>
                    </tr>
                </table>
            </fieldset>
            <fieldset>
                <legend>Mat&eacute;riels</legend>
                <table>
                    <tr>
                        <td>Marques implants dentaires : </td><td></td>
                    </tr>
                    <tr>
                        <td>Pays origines des matériaux : </td><td></td>
                    </tr>
                </table>
            </fieldset>
            <fieldset>
                <legend>Site Web</legend>
                <table>
                    <tr>
                        <td>Site web : </td><td></td>
                    </tr>
                    <tr>
                        <td>Lien retour : </td><td></td>
                    </tr>
                </table>
            </fieldset>
            <br />
            <input type="button" value="EDITER" id="btn_edit" />
            </div>
        </div>
    
</div>
        

        
    <?php include('include/footer.php'); ?>
</body>
</html>
